package fic.storefinder.shared.utils;

public class Constants {
	public static final int SERVICE_FORMAT_TYPE_XML = 10;
	public static final int SERVICE_FORMAT_TYPE_JSON = 20;
	
	public static final String REQUEST_PARAMETER_FORMAT = "format";
	public static final String REQUEST_PARAMETER_LAST_UPDATE_TIMESTAMP = "lastUpdateTimestamp";
	
	public static final String REQUEST_PARAMETER_VALUE_FORMAT_XML = "xml";
	public static final String REQUEST_PARAMETER_VALUE_FORMAT_JSON = "json";
	
	public static final String JSON_KEY_RESPONSE = "response";
	public static final String JSON_KEY_CONTAINS_ERROR = "containsError";
	public static final String JSON_KEY_ERROR = "error";
	public static final String JSON_KEY_ERRORCODE = "errorCode";
	public static final String JSON_KEY_ERRORMESSAGE = "errorMessage";
	public static final String JSON_KEY_STACKTRACE = "stackTrace";
	public static final String JSON_KEY_LASTUPDATEDATE = "lud";
	public static final String JSON_KEY_POI_ID = "id";
	public static final String JSON_KEY_POI_NAME = "n";
	public static final String JSON_KEY_POI_ADDRESS = "a";
	public static final String JSON_KEY_POI_CITY = "c";
	public static final String JSON_KEY_POI_ZIPCODE = "z";
	public static final String JSON_KEY_POI_LON = "lo";
	public static final String JSON_KEY_POI_LAT = "la";
	public static final String JSON_KEY_POI_PHONE = "p";
	public static final String JSON_KEY_POI_STATUS = "s";
	public static final String JSON_KEY_ROBE_ID = "id";
	public static final String JSON_KEY_ROBE_POIID = "pid";
	public static final String JSON_KEY_ROBE_PRICE = "p";
	public static final String JSON_KEY_ROBE_CURRENCY = "c";
	public static final String JSON_KEY_ROBE_IMAGEURL = "i";
	public static final String JSON_KEY_ROBE_DESCRIPTION = "d";
	public static final String JSON_KEY_ROBE_AVAILABLE = "a";
	public static final String JSON_KEY_ROBE_STATUS = "s";
	
	
	public static final String XML_NODE_POI = "poi";
	public static final String XML_NODE_ROBE = "robe";
	public static final String XML_NODE_LASTUPDATE = "lastUpdate";
	public static final String XML_NODE_RESPONSE = "response";
	public static final String XML_NODE_CONTAINS_ERROR = "containsError";
	public static final String XML_NODE_ERROR = "error";
	public static final String XML_NODE_ERRORCODE = "errorCode";
	public static final String XML_NODE_ERRORMESSAGE = "errorMessage";
	
	public static final String LOGIN_OK = "LOGIN_OK";
	public static final String LOGIN_FAILED = "LOGIN_FAILED";
	
	public static final int POISTATUS_ACTIVE = 10;
	public static final int POISTATUS_DELETED = 20;
	public static final int ROBESTATUS_ACTIVE = 10;
	public static final int ROBESTATUS_DELETED = 20;
	
	public static final int ROBE_AVAILABLE_YES = 1;
	public static final int ROBE_AVAILABLE_NO = 0;
	
	public static final String CONFIG_FILE_PATH = "resources/config.properties";
	public static final String CONFIG_UPLOAD_DIR_PATH = "uploadedimages/";
	public static final String PROPERTIE_KEY_DBURL = "dburl";
	
	public static final int EDIT_TYPE_NEW = 10;
	public static final int EDIT_TYPE_UPDATE = 20;
	
}
